package com.springvue.springvue.service;

import com.springvue.springvue.entity.Userfan;
import com.springvue.springvue.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserSevice {
    @Autowired
    private UserMapper userMapper;
    public List<Userfan> findAll(){
         return  userMapper.findAll();
    }

}
